<template>
<div>
<!-- 顶部导航 -->
<FilmTopNav v-show="isShow"/>
<router-view />
</div>
</template>

<script>

// 引入顶部导航组件
import FilmTopNav from "@/components/FilmTopNav";

export default {
 data () {
return {
    isShow: true,
};
  
 },
 
 components: {
    FilmTopNav,
},
created() {
    this.isShow = true;
    // 订阅让底部菜单 隐藏或显示功能
    this.$eventBus.$on("hideMenu",(v)=> {
        this.isShow = v;
    })
}

};
</script>


<style lang="scss" scoped>

</style>
